<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>

<!DOCTYPE HTML>
<html lang="en-US">
<head>
	<meta charset="UTF-8">
	<title>PMS项目管理系统</title>
	<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css" />
</head>
<body>
	<c:choose>
		<c:when test="${param.code == '10001' }">
			<div style="color:red">请先登录</div>
		</c:when>
		<c:when test="${param.code == '10002' }">
			<div style="color:red">用户名或密码错误</div>
		</c:when>
		<c:when test="${param.code == '10003' }">
			<div style="color:red">验证码错误</div>
		</c:when>
	</c:choose>
	<div class="contains" style="margin-top:100px">
		<form class="well" style="width:220px;margin:0px auto;" action="login.jspx" method="post">
			<legend>PMS项目管理系统 </legend>
			<label>账号</label>
			<input type="text" class="span3" name="username" /><br/>
			<label>密码</label>
			<input type="password"  class="span3" name="password" /><br/>
			<label>验证码</label>
			<button type="submit"  class="btn btn-primary">进入系统</button>
		</form>
	</div>
</body>
</html>